<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:ui="http://java.sun.com/jsf/facelets"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:f="http://java.sun.com/jsf/core"
      xmlns:p="http://primefaces.prime.com.tr/ui">
    <h:head>
        <title>Facelet Title</title>
    </h:head>
    <h:body>
       <h:form>
        <p:menu styleClass="panel" type="tiered">
            
                                <p:menuitem value="Main Page" url="Supervisor.xhtml"/>    
                                <p:submenu label="Agent">  
                                    <p:menuitem value="Add" url="SupervisorAddAgent.xhtml"/>
                                    <p:menuitem value="Search" url="SupervisorSearchAgent.xhtml"/>
                                </p:submenu>
                                <p:menuitem value="Daily Report" url="#"/>
                                <p:menuitem value="Customer"  action="#{supervisorbean.listCustomers}"  ajax="false" />
                                 <p:menuitem>
                                     <p:commandLink value="ccs" action="#{supervisorbean.listCustomers}"  ajax="false"/>
                                </p:menuitem>
                                <p:submenu label="House">  
                                    <p:menuitem value="Add" url="SupervisorAddHouse.xhtml"/>
                                    <p:menuitem value="Search" url="SupervisorSearchHouse.xhtml"/>
                                </p:submenu>
                                <p:submenu label="Estate">  
                                    <p:menuitem value="Add Estate" url="SupervisorAddEstate.xhtml"/>
                                    <p:menuitem value="Search" url="SupervisorSearchEstate.xhtml"/>
                                </p:submenu>
                                <p:menuitem value="Sign Out" url="#"/>
                                
                            </p:menu>
        </h:form>
       
    </h:body>
</html>

